package net.lahuobao.finance.service.impl.organizationManagement;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import net.lahuobao.finance.dao.OrganizationMapper;
import net.lahuobao.finance.entity.organizationEntity.OrganizationEntity;
import net.lahuobao.finance.service.organizationManagement.IOrganizationService;
@Service("organizationService")
public class OrganizationServiceImpl implements IOrganizationService {
	@Autowired
	private OrganizationMapper organizationDao;
	@Override
	public void updateOrganization(Map map) {
		organizationDao.updateByPrimaryKeySelective(map);
	}
	@Override
	public Map getOrganizationIdByName(String name) {
		return organizationDao.selectOrganizationIdByName(name);
	}



}
